All Questions
9 questions
4votes
0answers
161views
Just a digital clock in Swing
I've written a little clock implementation in Java Swing. It now seems to work flawlessly after having terrible Swing specific timing problems. Please indicate if this is the way to draw the clock and ...
2votes
1answer
2kviews
Timer in Java with GUI
I have created a timer with GUI in Java. Here's the code: ...
4votes
1answer
4kviews
Full screen countdown display
As a part of a bigger application, I wrote code which creates a display for a countdown of a given time. It is nothing fancy, but I would still appreciate a review. I am especially concerned about: ...
2votes
2answers
1kviews
Timer for a Java game
I have a simple game that implements a TimerTask. However, when there's a popup using JOptionPane the timer task doesn't seem to ...
7votes
1answer
703views
Pausing a SwingWorker with a Timer
I made a SwingWorker which is fetching tweets using the twitter4j API. The twitter API will allow 180 queries every 15 minutes, and then throw an exception with ...
4votes
1answer
347views
Inefficient Stopwatch - revised
This is my revised code of Stopwatch: ...
5votes
1answer
276views
Inefficient Stopwatch
I have just finished a simple GUI stopwatch, but some of its code looks like it needs replacing. This is the code: Clock class (extends Thread): ...
7votes
1answer
10kviews
Simple stop watch
I'd like my code to be solid and good. That's why I want someone a little more experienced to give me some feedback so I can improve. Here is the code for a simple stop watch that I created. I feel ...
6votes
2answers
12kviews
Java GUI code with Swing Timer
I have the following questions for the below code: Is there a simpler implementation of an on-screen counter? I made CountTimer inner class since it's tightly ...